﻿/**
 * 
 * @file OperWorkingDir.h
 * @brief 设置工作路径操作类
 * @author LiBaojun (libaojunqd@foxmail.com)
 * @date 2024-10-31
 * 
 */
#ifndef _OPER_GUI_WORKINGDIR_H___
#define _OPER_GUI_WORKINGDIR_H___

#include "FITK_Kernel/FITKCore/FITKActionOperator.h"
#include "FITK_Kernel/FITKCore/FITKOperatorRepo.h"


namespace GUIOper
{
    /**
     * @brief 设置工作路径操作器
     * @author LiBaojun (libaojunqd@foxmail.com)
     * @date 2024-10-31
     */
    class OperWorkingDir :public Core::FITKActionOperator
    {
 
    public:
        
        /**
         * @brief Construct a new Oper Working Dir object
         * @author LiBaojun (libaojunqd@foxmail.com)
         * @date 2024-10-31
         */
        explicit OperWorkingDir() = default;
        /**
         * @brief Destroy the Oper Working Dir object
         * @author LiBaojun (libaojunqd@foxmail.com)
         * @date 2024-10-31
         */
        virtual ~OperWorkingDir() = default;
        /**
         * @brief 执行GUI操作程序，选择文件对话框
         * @return true
         * @return false
         * @author LiBaojun (libaojunqd@foxmail.com)
         * @date 2024-10-11
         */
        virtual bool execGUI() override;
 
    };

    // 按钮注册相关操作

    Register2FITKOperatorRepo(actionWorkingDir, OperWorkingDir);
}


#endif
